package cn.yzfy.framework.starter.common.enums;

import lombok.*;

/**
 * @Author: 一朝风月
 * @Date: 2025/8/6 16:58
 * @Code 珍琅Code 研发
 * @Version: 1.0 删除标记枚举
 * @Description
 */
//@Data
@Getter
@ToString
public enum DelEnum {

    /**
     * 正常状态
     */
    NORMAL(0),

    /**
     * 删除状态
     */
    DELETE(1);

    private final Integer statusCode;
    DelEnum(Integer statusCode) {
        this.statusCode = statusCode;
    }

    public Integer code() {
        return this.statusCode;
    }

    public String strCode() {
        return String.valueOf(this.statusCode);
    }
}
